package org.csu.myblogger.myblogger.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.csu.myblogger.myblogger.entity.Account;

import java.sql.Date;
import java.util.List;

@Setter
@Getter
public class AccountVo {
    //存储用户具体数据:
    private String username;
    private String password;
    private Date birth;
    private String avatar; //头像
    //使用枚举表示性别
    public enum Gender{
        男,女
    }
    private Gender male;
    private int age;
    private String birthplace;
    private String signature;

    //存储用户文章
    private List<ArticleVo>articleVoList;

}
